id/email
password
forgot password
|
create account
about
|
help
|
prefs
ReadingBat
code reading practice
Java
Python
Kotlin
Lambda Intro
→
IntLambda1
fun doubleIt1(i: Int): Int = i * 2 fun func1(i: Int): Int = doubleIt1(i) fun main() { println(func1(5)) println(func1(10)) println(func1(20)) }
Click on
to run the code
⬅ Back